﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SystemConfig.aspx.cs" Inherits="Sharp.Web.Views.Setting.SystemConfig" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <%: Scripts.Render("~/bundles/jquery") %>
    <style>
        Body {
            margin: 0;
            line-height: 20px;
            color: #595757;
            font: 13px 'Microsoft YaHei',微软雅黑,Arial,Lucida Grande,Tahoma,sans-serif;
            -ms-text-shadow: 0 1px 0 #D1D1D1;
            text-shadow: 0 1px 0 #D1D1D1;
            background-color: #ffffff;
        }

        img {
            border: 0;
        }

        Button {
            cursor: pointer;
        }

        input, img {
            vertical-align: middle;
        }

        iframe {
            border: none;
        }

        A {
            color: #000000;
            text-decoration: none;
        }

            A:hover {
                color: #000000;
                text-decoration: underline;
            }

        .TabelGrid {
            border-collapse: collapse;
            padding: 2px;
            margin-top: 4px;
            border: 1px solid #CCCCCC;
            margin-right: auto;
            margin-left: auto;
        }

            .TabelGrid .HeaderStyle {
                font-size: 14px;
                color: #000000;
                background-color: rgb(239, 239, 239);
                font-weight: bold;
                height: 28px;
                border: 1px solid rgb(239, 239, 239);
            }

                .TabelGrid .HeaderStyle a {
                    text-decoration: underline;
                    color: #000000;
                }

                .TabelGrid .HeaderStyle th {
                    text-align: center;
                }

            .TabelGrid td {
                border-collapse: collapse;
                padding: 4px;
                margin-top: 4px;
                border: 1px solid #CCCCCC;
                margin-right: auto;
                margin-left: auto;
            }

                .TabelGrid td.RowTitle {
                    text-align: right;
                    font-weight: bold;
                    width: 200px;
                }
    </style>
    <script>
        function checkChange(obj) {
            if (true == $(obj).prop("checked")) {
                obj.value = "true";
            } else {
                obj.value = "false";
            }
        }
        function submitForm(typeFullName) {
            $.ajax({
                cache: true,
                type: "POST",
                url: "/Setting/SystemConfig?Action=Submit&typeFullName=" + typeFullName,
                data: $('#form1').serialize(),
                async: false,
                error: function (request) {
                    alert("Connection error");
                },
                success: function (data) {
                    alert("保存成功！");
                }
            });
            return false;
        }
    </script>
</head>
<body style="text-align: center;">
    <form id="form1" runat="server">
    </form>
</body>
</html>
